add cypress coverage for manage columns behaviour in hardware conf table#2732
add cypress coverage for manage columns behaviour in hardware conf table#2732Philip-Carneiro wants to merge 3 commits into
Conversation
manaswinidas
left a comment
There was a problem hiding this comment.
Thanks for adding Cypress coverage for manage columns! A few items to clean up around DRY and redundant assertions.
|
Informational — library coverage gap 9 of the 16 tests here (toggle, cancel, persist, restore-defaults, search) exercise These tests are valuable as the only coverage that currently exists, so not blocking on this — but ideally this coverage should move upstream as unit/component tests in mod-arch-library, leaving only a smoke test + the app-specific latency filter interaction tests here. |
d16a5a3 to
68cccf2
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Reiterating my previous comment, 10 of 16 tests exercise generic ManageColumnsModal / useManageColumns behavior and could move upstream to mod-arch-library as unit/component tests. This would leave only a smoke test (open modal, toggle one column) plus the 5 app-specific latency filter interaction tests here. Can we move them ? |
df65ac6 to
f7fb7d1
Compare
I moved the tests to the place you suggested o/ |
|
/retest |
|
@Philip-Carneiro: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest |
|
This needs to wait for the other PR to go in and we should remove any tautological/repetitive tests |
Signed-off-by: Philip Colares Carneiro <philip.colares@gmail.com>
Signed-off-by: Philip Colares Carneiro <philip.colares@gmail.com>
Signed-off-by: Philip Colares Carneiro <philip.colares@gmail.com>
f7fb7d1 to
1738487
Compare
The other PR has been merged and this branch has been rebased on top of it. Regarding tautological/repetitive tests — I did a thorough comparison between the Cypress tests in this PR and the unit tests from the mod-arch PR. They operate at different levels of the testing pyramid and cover different scopes:
The only partial overlap is the "modal opens with controls" smoke test, which exists in both — but the Cypress version navigates through the real application while the unit test renders the component with mocked props. No tests were found to be duplicated or redundant. |
Description
Added cypress coverage to Manage Columns in Hardware Configuration Table
How Has This Been Tested?
Merge criteria:
DCOcheck)ok-to-testhas been added to the PR.If you have UI changes